import {
    createRouter,
    createWebHashHistory
  } from 'vue-router'
  import SurveyPage from '@/views/SurveyPage.vue'
  
  const routes = [
    {
      path: '/',
      name: 'SurveyPage',
      component: SurveyPage
    },
    {
      path: '/ReportPage',
      name: 'ReportPage',
      component:  () => import('@/views/ReportPage.vue') 
    },
    {
      path: '/CodePage',
      name: 'CodePage',
      component:  () => import('@/views/CodePage.vue') 
    },
  ]
  
  const router = createRouter({
    history: createWebHashHistory(),
    routes
  })
  
  export default router